package com.cheea.associationBss.model;

import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Page;

@SuppressWarnings("serial")
public class Article extends Model<Article>{
	public static final Article dao = new Article();
	public Page<Article> paginate(int pageNumber, int pageSize) {
		return paginate(pageNumber, pageSize, "select *", "from article a order by a.flag desc");
	}
	
}
